﻿using System.ComponentModel.DataAnnotations;

public class CommentPostInput
{
    /// <summary>
    /// 评论内容
    /// </summary>
    [Required(ErrorMessage = "评论内容不能为空")]
    public string Content { get; set; }

    /// <summary>
    /// 帖子ID
    /// </summary>
    [Required(ErrorMessage = "非法操作，帖子不能为空")]
    public string PostId { get; set; }

    public  string ReplyId { get; set; }

    public string ReplyRootId { get; set; }
}
